<!--
 * @Description:
 * @Author: changqing
 * @Date: 2021-05-20 16:22:07
 * @LastEditTime: 2021-05-30 12:30:01
 * @LastEditors: changqing
 * @Usage:
-->
<template>
   <div id="app">
    <router-view />
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { useGenerateTheme } from '@/hooks/useGenerateTheme'

export default defineComponent({
  name: 'App',
  setup() {
    // 生成主题色
    useGenerateTheme()
  }
})
</script>

<style>
#app {
  height: 100%;
}
</style>
